package com.swt.testdemo.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.swt.testdemo.config.ResponseBean;
import com.swt.testdemo.config.ResponseMessage;
import com.swt.testdemo.entity.StudentEntity;
import com.swt.testdemo.form.CreateStudentForm;
import com.swt.testdemo.form.EditStudentForm;
import com.swt.testdemo.form.QueryStudentForm;
import com.swt.testdemo.form.SysLoginForm;


/**
 *
 * @author BleethNie
 * @version 1.0
 * @date 2020-01-10 17:48
 **/
public interface StudentService extends IService<StudentEntity> {

    ResponseBean listStudent();

    ResponseBean listStuInfo(QueryStudentForm form);

    ResponseMessage addStu(CreateStudentForm form);


    ResponseMessage editStuInfo(EditStudentForm form);

    ResponseBean showStuInfo(Integer stuId);

    ResponseMessage deleteStuInfo(Integer stuId);


    ResponseMessage login(SysLoginForm form);

    ResponseMessage logout();

    byte[] captcha(String uuid);

    ResponseMessage crackUUid(String uuid);
}
